import 'package:ai/util/CommonUtils.dart';
import 'package:auto_route/annotations.dart';
import 'package:flutter/material.dart';

import '../../config/Config.dart';

@RoutePage()
class ConnectPage extends StatefulWidget {
  const ConnectPage({super.key});

  @override
  State<ConnectPage> createState() => _ConnectPageState();
}

class _ConnectPageState extends State<ConnectPage> {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      backgroundColor: Colors.white,
      appBar: CommonUtils.getAppBar("联系我们", () {}),
      body: ListView(
        children: [
          Container(
            decoration: BoxDecoration(
              color: Colors.white,
              border: Border(
                bottom: BorderSide(color: Config.colorEc, width: 1.0),
              ),
            ),
            child: ListTile(
              title: Text(
                "客服热线",
                style: TextStyle(
                  color: Config.color47,
                ),
              ),
              trailing: Text(
                "0574-1234567",
                style: TextStyle(
                  fontSize: 14,
                  color: Config.color79a7fd,
                ),
              ),
            ),
          ),
          Container(
            decoration: BoxDecoration(
              color: Colors.white,
              border: Border(
                bottom: BorderSide(color: Config.colorEc, width: 1.0),
              ),
            ),
            child: ListTile(
              title: Text(
                "联系客服",
                style: TextStyle(
                  color: Config.color47,
                ),
              ),
              trailing: Text(
                "09:00 -- 18:00",
                style: TextStyle(
                  fontSize: 14,
                  color: Config.color79a7fd,
                ),
              ),
            ),
          ),
          Container(
            decoration: BoxDecoration(
              color: Colors.white,
              border: Border(
                bottom: BorderSide(color: Config.colorEc, width: 1.0),
              ),
            ),
            child: ListTile(
              title: Text(
                "电子邮箱",
                style: TextStyle(
                  color: Config.color47,
                ),
              ),
              trailing: Text(
                "1169794338@qq.com",
                style: TextStyle(
                  fontSize: 14,
                  color: Config.color79a7fd,
                ),
              ),
            ),
          ),
        ],
      ),
    );
  }
}
